package com.cwj.common.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 影片观看记录
 */
@Data
@TableName("watch_record")
public class WatchRecord {
    @TableField("fid")
    private Integer fid;   //影片id
    @TableField("uid")
    private Integer uid;  //观看影片的用户的id 为0 则表示用户没注册
    @TableField(value = "watch_time",fill = FieldFill.INSERT)
    private Date WatchTime; //开始观看时间
    @TableField("film_episode")
    private String filmEpisode; //观看的剧集
}
